


// spu列表
export interface spuinfomodul {
    id ?:number,
    description ?:string,
    spuName ?:string,
    tmid ?:string
}
export type spulistmodul = spuinfomodul[]

export interface spuliatdatamodul {
    total:number,
    records:spulistmodul
}

// 品牌
export interface trademarkmodul{
    id:number,
    logoUrl:string,
    tmName:string
}

export type trademarklistmodul = trademarkmodul[]

// 销售
export interface basesaleattrmodul{
    id:number,
    name: string,
}

export type basesaleattrlistmodul = basesaleattrmodul[]

export interface spuImageListmodul {
    // "id": 0,
    imgName: string,
    imgUrl: string,
}
export interface spuSaleAttrmodul{
    id?: number,
    saleAttrValueName: string,
    saleAttrName:string,
    isChecked:string
}
export interface spuSaleAttrListmodul {
    baseSaleAttrId?: number,
    // "createTime": "2023-01-04T06:02:07.216Z",
    id?: number,
    saleAttrName: string|undefined,
    spuId?: number,
    spuSaleAttrValueList: spuSaleAttrmodul[] ,
    inputVisible?: boolean
}
export interface supinfodatamodul {
    category3Id: number|undefined,//三级ID
    description: string,//描述
    id?: 0,
    spuImageList: spuImageListmodul[] ,//图片数组
    spuName: string,//spu名字
    // "spuPosterList": [
    //   {
    //     "createTime": "2023-01-04T06:02:07.216Z",
    //     "id": 0,
    //     "imgName": "string",
    //     "imgUrl": "string",
    //     "spuId": 0,
    //     "updateTime": "2023-01-04T06:02:07.216Z"
    //   }
    // ],
    spuSaleAttrList: spuSaleAttrListmodul[],
    tmId: number|undefined,
    spuSaleAttr:undefined|string
}

// {
//     "category3Id": 0,
//     "createTime": "2023-01-04T12:20:08.557Z",
//     "description": "string",
//     "id": 0,
//     "spuImageList": [
//       {
//         "createTime": "2023-01-04T12:20:08.557Z",
//         "id": 0,
//         "imgName": "string",
//         "imgUrl": "string",
//         "spuId": 0,
//         "updateTime": "2023-01-04T12:20:08.557Z"
//       }
//     ],
//     "spuName": "string",
//     "spuPosterList": [
//       {
//         "createTime": "2023-01-04T12:20:08.557Z",
//         "id": 0,
//         "imgName": "string",
//         "imgUrl": "string",
//         "spuId": 0,
//         "updateTime": "2023-01-04T12:20:08.557Z"
//       }
//     ],
//     "spuSaleAttrList": [
//       {
//         "baseSaleAttrId": 0,
//         "createTime": "2023-01-04T12:20:08.557Z",
//         "id": 0,
//         "saleAttrName": "string",
//         "spuId": 0,
//         "spuSaleAttrValueList": [
//           {
//             "baseSaleAttrId": 0,
//             "createTime": "2023-01-04T12:20:08.557Z",
//             "id": 0,
//             "isChecked": "string",
//             "saleAttrName": "string",
//             "saleAttrValueName": "string",
//             "spuId": 0,
//             "updateTime": "2023-01-04T12:20:08.557Z"
//           }
//         ],
//         "updateTime": "2023-01-04T12:20:08.557Z"
//       }
//     ],
//     "tmId": 0,
//     "updateTime": "2023-01-04T12:20:08.557Z"
//   }